package com.mzpai.product.model;

import java.math.BigDecimal;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="商品规则属性信息")
public class StoreProductAttrValue extends BaseModel {

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="主键ID")
	private Integer id;
	@ApiModelProperty(value="商品ID")
	private Integer productId;
	@ApiModelProperty(value="商品属性索引值,单规格设置为 suk=默认,多规格组合逗号分隔")
    private String suk;
	@ApiModelProperty(value="属性对应的库存")
    private Integer stock;
	@ApiModelProperty(value="销量")
    private Integer sales;
	@ApiModelProperty(value="属性金额")
    private BigDecimal price;
	@ApiModelProperty(value="图片")
    private String image;
	@ApiModelProperty(value="唯一值")
    private String unique;
	@ApiModelProperty(value="成本价")
    private BigDecimal cost;
	@ApiModelProperty(value="最低售价")
    private BigDecimal minPrice;
	@ApiModelProperty(value="商品条码")
    private String barCode;
	@ApiModelProperty(value="原价")
    private BigDecimal otPrice;
	@ApiModelProperty(value="重量")
    private BigDecimal weight;
	@ApiModelProperty(value="体积")
    private BigDecimal volume;
	@ApiModelProperty(value="一级返佣")
    private BigDecimal brokerage;
	@ApiModelProperty(value="二级返佣")
    private BigDecimal brokerageTwo;
	@ApiModelProperty(value="活动类型 0=商品，1=秒杀，2=砍价，3=拼团")
    private Integer type;
	@ApiModelProperty(value="活动限购数量")
    private Integer quota;
	@ApiModelProperty(value="活动限购数量显示")
    private Integer quotaShow;
	@ApiModelProperty(value="门店id")
	private Integer storeId;
	@ApiModelProperty(value="状态：1有效；0：无效")
	private Integer state;
	
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public String getSuk() {
		return suk;
	}
	public void setSuk(String suk) {
		this.suk = suk;
	}
	public Integer getStock() {
		return stock;
	}
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	public Integer getSales() {
		return sales;
	}
	public void setSales(Integer sales) {
		this.sales = sales;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getUnique() {
		return unique;
	}
	public void setUnique(String unique) {
		this.unique = unique;
	}
	public BigDecimal getCost() {
		return cost;
	}
	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}
	public BigDecimal getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}
	public String getBarCode() {
		return barCode;
	}
	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}
	public BigDecimal getOtPrice() {
		return otPrice;
	}
	public void setOtPrice(BigDecimal otPrice) {
		this.otPrice = otPrice;
	}
	public BigDecimal getWeight() {
		return weight;
	}
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
	public BigDecimal getVolume() {
		return volume;
	}
	public void setVolume(BigDecimal volume) {
		this.volume = volume;
	}
	public BigDecimal getBrokerage() {
		return brokerage;
	}
	public void setBrokerage(BigDecimal brokerage) {
		this.brokerage = brokerage;
	}
	public BigDecimal getBrokerageTwo() {
		return brokerageTwo;
	}
	public void setBrokerageTwo(BigDecimal brokerageTwo) {
		this.brokerageTwo = brokerageTwo;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getQuota() {
		return quota;
	}
	public void setQuota(Integer quota) {
		this.quota = quota;
	}
	public Integer getQuotaShow() {
		return quotaShow;
	}
	public void setQuotaShow(Integer quotaShow) {
		this.quotaShow = quotaShow;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
}
